package com.pz.gulimall.order.entity;

import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.AllArgsConstructor;
import lombok.Data;

import java.util.Date;

@Data
@AllArgsConstructor
@TableName("mq_message")
public class MqMessageEntity {
    @TableId
    private String messageId;  // uuid第一串'-'之前的大写串+时间戳

    private String content; //JSON格式

    private String toExchange;

    private String routingKey;

    private String classType; //消息格式

    private Integer messageStatus;

    private Date createTime;

    private Date updateTime;
}
